<?	
		$fn_att = array('name'=>'fee_name','value'=>set_value('fee_name'),'placeholder'=>'Name Of Fee');
		$fd_att = array('name'=>'fee_desc','value'=>set_value('fee_desc'),'placeholder'=>'Description of Fee');
		$fr_att = array('name'=>'fee_rate','value'=>set_value('fee_rate'),'placeholder'=>'Amount/Rate of Fee');
		$frm_att = array('class'=>'custom');
		$fo_att = array('name'=>'fee_order','value'=>set_value('fee_order'),'placeholder'=>'Display Order');
 ?>
<div class="row">
	<div class="large-12 columns">
	<div class="panel callout">
		<h6>Add New Fees</h6>
	</div>
	<?if(isset($system_message))echo $system_message;
	echo validation_errors() !==''?'<div data-alert class="alert-box alert">'.validation_errors().'<a href="#" class="close">&times;</a></div>' : NULL;
	?>
		<?echo form_open('add-fees',$frm_att);?>
		
		<div class="row">
			<div class="small-3 columns">
			  <?echo form_label('Fee Name');?>
			</div>
			<div class="small-9 columns">
			  <? echo form_input($fn_att); ?>
			</div>
		</div>
		
		<div class="row">
			<div class="small-3 columns">
			  <?echo form_label('Fee Amount/Rate');?>
			</div>
			<div class="small-9 columns">
			  <? echo form_input($fr_att); ?>
			</div>
		</div>
		
		<div class="row">
			<div class="small-3 columns">
			  <? echo form_label('Fee Description'); ?>
			</div>
			<div class="small-9 columns">
			  <? echo form_textarea($fd_att); ?>
			</div>
		</div>
		<div class="row">
			<div class="small-3 columns">
			  <? echo form_label('Display Order of Fee'); ?>
			</div>
			<div class="small-9 columns">
			  <? echo form_input($fo_att); ?>
			</div>
		</div>
		<div class="row">
			<div class="small-3 columns">
			  <? echo form_label('For'); ?>
			</div>
			<div class="small-9 columns">
			  <input type="checkbox" name="fee_new" value="yes" checked>&nbsp;&nbsp;New Enrollee
			  <br />
			  <input type="checkbox" name="fee_old" value="yes" checked>&nbsp;&nbsp;Old Enrollee
			  <br />
			</div>
		</div>
		
		<div class="row">
			<div class="small-3 columns">
			 	<label>Type Of Fee:</label>
			</div>
			<div class="small-9 columns">
			 	<select name="fee_type" id="fee" url="<?=site_url('output/get_gradelevel_data/'.$auth)?>">
				<option value=""></option>
				<option value="is_tuition_fee">Tuition Fee</option>
				<option value="is_cca_fee">Matriculation</option>
				<option value="is_misc_fee">Other School Fee</option>
				<option value="is_other_fee">Miscellaneous Fees</option>
				<option value="is_assess_fee">Assessment Fee</option>
			</select>
			</div>
		</div>
		
		<div class="row dynamic-dropdown"></div>
		<input type="submit" name="add_fee" value="Add Fee" class="btn btn-primary">
		</form>
		</div>
		</div>
</div>
